Part Number Hot Search : 
MP3021 LFZ28V11 2SC20 SMCJ30 1N499 SMCJ11 LFZ28V11 M38258
Product Description
Full Text Search
 

To Download MCF5206E Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
 www..com
Freescale Semiconductor, Inc.
MCF5206EUM/D, rev.1
Freescale Semiconductor, Inc...
MCF5206E ColdFire
.com
(R)
Integrated Microprocessor User's Manual
e DataShe
Motorola reserves the right to make changes without further notice to any products herein. Motorola makes no warranty, representation or guarantee regarding the suitability of its products for any particular purpose, nor does Motorola assume any liability arising out of the application or use of any product or circuit, and specifically disclaims any and all liability, including without limitation consequential or incidental damages. "Typical" parameters can and do vary in different applications. All operating parameters, including "Typicals" must be validated for each customer application by customer's technical experts. Motorola does not convey any license under its patent rights nor the rights of others. Motorola products are not designed, intended, or authorized for use as components in systems intended for surgical implant into the body, or other applications intended to support or sustain life, or for any other application in which the failure of the Motorola product could create a situation where personal injury or death may occur. Should Buyer purchase or use Motorola products for any such unintended or unauthorized application, Buyer shall indemnify and hold Motorola and its officers, employees, subsidiaries, affiliates, and distributors harmless against all claims, costs, damages, and expenses, and reasonable attorney fees arising out of, directly or indirectly, any claim of personal injury or death associated with such unintended or unauthorized use, even if such claim alleges that Motorola was negligent regarding the design or manufacture of the part. Motorola and are registered trademarks of Motorola, Inc. Motorola, Inc. is an Equal Opportunity/Affirmative Action Employer.
.com
(c) MOTOROLA, 1998 All Rights Reserved. For More Information On This Product, Go to: www.freescale.com DataSheet 4 U .com
www..com
Freescale Semiconductor, Inc.
t4U.com
Freescale Semiconductor, Inc...
e DataShe
.com
ColdFire is a Registered Trademark of Motorola, Inc. All other trademarks reside with their respective owners.
.com
For More Information On This Product, Go to: www.freescale.com
DataSheet 4 U .com
www..com
Freescale Semiconductor, Inc.
DOCUMENTATION FEEDBACK
FAX 512-891-8593--Documentation Comments Only (no technical questions please) http: / / www.mot.com/hpesd/docs_survey.html--Documentation Feedback Only The Technical Communications Department welcomes your suggestions for improving our documentation and encourages you to complete the documentation feedback form at the World Wide Web address listed above. In return for your efforts, you will receive a small token of our appreciation. Your help helps us measure how well we are serving your information requirements. The Technical Communications Department also provides a fax number for you to submit any questions or comments about this document or how to order other documents. Please provide the part number and revision number (located in upper right-hand corner of the cover) and the title of the document. When referring to items in the manual, please reference by the page number, paragraph number, figure number, table number, and line number if needed. Please do not fax technical questions to this number. When sending a fax, please provide your name, company, fax number, and phone number including area code. For Internet Access: Web Only: http: // www.motorola.com/coldfire For Hotline Questions:
.com
t4U.com
Freescale Semiconductor, Inc...
e DataShe
FAX (US or Canada): 1-800-248-8567
.com
MOTOROLA MCF5206E User's Manual For More Information On This Product, Go to: www.freescale.com iii
DataSheet 4 U .com
www..com
Freescale Semiconductor, Inc.
Applications and Technical Information
For questions or comments pertaining to technical information, questions, and applications, please contact one of the following sales offices nearest you.
-- Sales Offices --
Field Applications Engineering Available Through All Sales Offices
GERMANY, Langenhagen/ Hanover 49(511)789911 UNITED STATES ALABAMA, Huntsville (205) 464-6800 GERMANY, Munich 49 89 92103-0 ARIZONA, Tempe (602) 897-5056 GERMANY, Nuremberg 49 911 64-3044 CALIFORNIA, Agoura Hills (818) 706-1929 GERMANY, Sindelfingen 49 7031 69 910 CALIFORNIA, Los Angeles (310) 417-8848 GERMANY, Wiesbaden 49 611 761921 CALIFORNIA, Irvine (714) 753-7360 852-4808333 CALIFORNIA, Rosevllle (916) 922-7152 HONG KONG, Kwai Fong Tai Po 852-6668333 CALIFORNIA, San Diego (619) 541-2163 (91-812)627094 CALIFORNIA, Sunnyvale (408) 749-0510 INDIA, Bangalore 972(3)753-8222 COLORADO, Colorado Springs (719) 599-7497 ISRAEL, Tel Aviv COLORADO, Denver (303) 337-3434 ITALY, Milan 39(2)82201 CONNECTICUT, Wallingford (203) 949-4100 JAPAN, Aizu 81(241)272231 FLORIDA, Maitland (407) 628-2636 JAPAN, Atsugi 81(0462)23-0761 FLORIDA, Pompano Beach/ JAPAN, Kumagaya 81(0485)26-2600 Fort Lauderdale (305) 486-9776 81(092)771-4212 FLORIDA, Clearwater (813) 538-7750 JAPAN, Kyushu 81(0292)26-2340 GEORGlA, Atlanta (404) 729-7100 JAPAN, Mito 81(052)232-1621 IDAHO, Boise (208) 323-9413 JAPAN, Nagoya 81(06)305-1801 ILLINOIS, Chicago/Hoffman Estates (708) 490-9500 JAPAN, Osaka INDlANA, Fort Wayne (219) 436-5818 JAPAN, Sendai 81(22)268-4333 INDIANA, Indianapolis (317) 571-0400 JAPAN, Tachikawa 81(0425)23-6700 INDIANA, Kokomo (317) 457-6634 JAPAN, Tokyo 81(03)3440-3311 IOWA, Cedar Rapids (319) 373-1328 JAPAN, Yokohama 81(045)472-2751 KANSAS, Kansas City/Mission (913) 451-8555 82(51)4635-035 MARYLAND, Columbia (410) 381-1570 KOREA, Pusan 82(2)554-5188 MASSACHUSETTS, Marborough (508) 481-8100 KOREA, Seoul .com Penang 60(4)374514 MASSACHUSETTS, Woburn (617) 932-9700 MALAYSIA, 52(5)282-2864 MICHIGAN, Detroit (313) 347-6800 MEXICO, Mexico City 52(36)21-8977 MINNESOTA, Minnetonka (612) 932-1500 MEXICO, Guadalajara MISSOURI, St. Louis (314) 275-7380 Marketing 52(36)21-9023 NEW JERSEY, Fairfield (201) 808-2400 Customer Service 52(36)669-9160 NEW YORK, Fairport (716) 425-4000 NETHERLANDS, Best (31)49988 612 11 NEW YORK, Hauppauge (516) 361-7000 PUERTO RICO, San Juan (809)793-2170 NEW YORK, Poughkeepsie/Fishkill (914) 473-8102 (65)2945438 NORTH CAROLINA, Raleigh (919) 870-4355 SINGAPORE 34(1)457-8204 OHIO, Cleveland (216) 349-3100 SPAIN, Madrid or 34(1)457-8254 OHIO, Columbus/Worthington (614) 431-8492 46(8)734-8800 OHIO, Dayton (513) 495-6800 SWEDEN, Solna OKLAHOMA, Tulsa (800) 544-9496 SWITZERLAND, Geneva 41(22)7991111 OREGON, Portland (503) 641-3681 SWITZERLAND, Zurich 41(1)730 4074 PENNSYLVANIA, Colmar (215) 997-1020 TAlWAN, Taipei 886(2)717-7089 Philadelphia/Horsham (215) 957-4100 THAILAND, Bangkok (66-2)254-4910 TENNESSEE, Knoxville (615) 584-4841 UNITED KINGDOM, Aylesbury 44(296)395-252 TEXAS, Austin (512) 873-2000 TEXAS, Houston (800) 343-2692 FULL LINE REPRESENTATIVES TEXAS, Plano (214) 516-5100 COLORADO, Grand Junction VIRGINIA, Richmond (804) 285-2100 Cheryl Lee Whltely (303) 243-9658 WASHINGTON, Bellevue (206) 454-4160 KANSAS, Wichita Seattle Access (206) 622-9960 Melinda Shores/Kelly Greiving (316) 838 0190 WISCONSIN, Milwaukee/Brookfield (414) 792-0122 NEVADA, Reno CANADA Galena Technology Group (702) 746 0642 BRITISH COLUMBIA, Vancouver (604) 293-7605 NEW MEXICO, Albuquerque ONTARIO, Toronto (416) 497-8181 S&S Technologies, lnc. (505) 298-7177 ONTARIO, Ottawa (613) 226-3491 UTAH, Salt Lake City QUEBEC, Montreal (514) 731-6881 Utah Component Sales, Inc. (801) 561-5099 WASHINGTON, Spokane INTERNATIONAL Doug Kenley (509) 924-2322 AUSTRALIA, Melbourne (61-3)887-0711 AUSTRALIA, Sydney (61(2)906-3855 ARGENTINA, Buenos Aires Argonics, S.A. (541) 343-1787 BRAZIL, Sao Paulo 55(11)815-4200 CHINA, Beijing 86 505-2180 HYBRID COMPONENTS RESELLERS FINLAND, Helsinki 358-0-35161191 Elmo Semiconductor (818) 768-7400 Car Phone 358(49)211501 Minco Technology Labs Inc. (512) 834-2022 FRANCE, Paris/Vanves 33(1)40 955 900 Semi Dice Inc. (310) 594-4631
t4U.com
Freescale Semiconductor, Inc...
e DataShe
.com
iv MCF5206E User's Manual For More Information On This Product, Go to: www.freescale.com MOTOROLA
DataSheet 4 U .com
www..com
Freescale Semiconductor, Inc.
PREFACE
The MCF5206E ColdFire(R) Integrated Microprocessor User's Manual describes the programming, capabilities, and operation of the MCF5206E device. Refer to the ColdFire Family Programmer's Reference Manual Rev 1.0 (MCF5200PRMREV1/D) for information on the ColdFire Family of microprocessors. CONTENTS This user manual is organized as follows: Section 1: Introduction Section 2: Signal Description Section 3: ColdFire Core Section 4: Instruction Cache Section 5: SRAM Section 6: Bus Operation Section 7: DMA Controller Module Section 8: System Integration Module (SIM) Section 9: Chip-Select Module Section 10: Parallel Port (General-Purpose I/O) Module Section 11: DRAM Controller Section 12: UART Modules Section 13: M-Bus Module .com Section 14: Timer Module Section 15: Debug Support Section 16: IEEE 1149.1 Test Access Port (JTAG) Section 17: Electrical Characteristics Section 18: Mechanical Characteristics Appendix A: MCF5206E Memory Map Appendix B: Porting from M68000 Index
t4U.com
Freescale Semiconductor, Inc...
e DataShe
.com
MOTOROLA MCF5206E User's Manual For More Information On This Product, Go to: www.freescale.com v
DataSheet 4 U .com
www..com
Freescale Semiconductor, Inc.
t4U.com
Freescale Semiconductor, Inc...
e DataShe
.com
.com
vi MCF5206E User's Manual For More Information On This Product, Go to: www.freescale.com MOTOROLA
DataSheet 4 U .com
www..com
Freescale Semiconductor, Inc.
Introduction Signal Description ColdFire Core Instruction Cache SRAM
1 2 3 4 5 6 7 8 9
Freescale Semiconductor, Inc...
Bus Operation DMA Controller Module System Integration Module (SIM) Chip Select Module
.com
t4U.com
Parallel Port (General-Purpose I/O) 10 DRAM Controller UART Modules MBus Module 11 12 13
e DataShe
Timer Module 14 Debug Support IEEE 1149.1 JTAG 15 16
Electrical Characteristics 17 Mechanical Characteristics 18 Appendix A: MCF5206E Memory Map Appendix B: Porting from M68000 A B
.com
For More Information On This Product, Go to: www.freescale.com
DataSheet 4 U .com
www..com
Freescale Semiconductor, Inc.
1 2 3 4 5
Introduction Signal Description ColdFire Core Instruction Cache SRAM Bus Operation DMA Controller Module System Integration Module (SIM) Chip Select Module
.com
Freescale Semiconductor, Inc...
6 7 8 9
t4U.com
10 Parallel Port (General-Purpose I/O) 11 DRAM Controller 12 UART Modules 13 M-Bus Module 14 Timer Module 15 Debug Support 16 IEEE 1149.1 JTAG 17 Electrical Characteristics 18 Mechanical Characteristics A B Appendix A: MCF5206E Memory Map Appendix B: Porting from M68000
e DataShe
.com
For More Information On This Product, Go to: www.freescale.com
DataSheet 4 U .com
www..com
Freescale Semiconductor, Inc.
TABLE OF CONTENTS
Paragraph Number Title Section 1 Introduction 1.1 1.2 1.3 1.3.1 1.3.1.1 1.3.1.2 1.3.1.3 1.3.1.4 1.3.1.5 1.3.2 1.3.3 1.3.4 1.3.5 1.3.6 1.3.7 1.3.8 1.3.9 1.3.10 1.3.11 1.3.11.1 1.3.11.2 1.3.12 1.3.13 1.3.14 1.3.15 1.3.16 1.3.17 Background ..........................................................................................1-1 MCF5206E Features ............................................................................1-2 Functional Blocks .................................................................................1-4 ColdFire Processor Core ............................................................1-5 Processor States ............................................................1-6 Programming Model .......................................................1-6 MAC Registers Summary .............................................1-10 Addressing Capabilities Summary ................................1-10 Instruction Set Overview ...............................................1-10 MAC Module .............................................................................1-15 Hardware Divide Module ..........................................................1-15 Instruction Cache .....................................................................1-15 Internal SRAM ..........................................................................1-15 .com DRAM Controller ......................................................................1-16 Direct Memory Access (DMA) ..................................................1-16 UART Modules .........................................................................1-16 Timer Module ...........................................................................1-16 Motorola Bus (M-Bus) Module ..................................................1-16 System Interface ......................................................................1-17 External Bus Interface ..................................................1-17 Chip Selects ..................................................................1-17 8-Bit Parallel Port (General Purpose I/O) .................................1-17 Interrupt Controller ...................................................................1-17 System Protection ....................................................................1-18 JTAG ........................................................................................1-18 System Debug Interface ...........................................................1-18 Pinout and Package .................................................................1-18 Section 2 Signal Description 2.1 2.2 2.2.1 2.2.2 2.2.3
.com
MOTOROLA MCF5206E USER'S MANUAL For More Information On This Product, Go to: www.freescale.com vii
Page Number
t4U.com
Freescale Semiconductor, Inc...
e DataShe
Introduction ...........................................................................................2-1 Address Bus .........................................................................................2-3 Address Bus (A[27:24]/ CS[7:4]/ WE[0:3]) .................................2-4 Address Bus (A[23:0]) ................................................................2-4 Data Bus (D[31:0]) ......................................................................2-4
DataSheet 4 U .com
www..com
Freescale Semiconductor, Inc.
TABLE OF CONTENTS (Continued)
Paragraph Number 2.3 2.3.1 2.3.2 2.3.3 2.4 2.4.1 2.5 2.5.1 2.5.2 2.5.3 2.5.4 2.5.5 2.5.6 2.5.7 2.5.8 2.6 2.6.1 2.6.2 2.6.3 2.7 2.7.1 2.7.2 2.7.3 2.8 2.8.1 2.8.2 2.8.3 2.9 2.9.1 2.9.2 2.9.3 2.9.4 2.10 2.10.1 2.10.2 2.11 2.11.1 2.12 2.12.1 2.12.2 2.13 2.13.1 Title Page Number
t4U.com
Chip Selects ......................................................................................... 2-4 Chip Selects (A[27:24]/ CS[7:4]/ WE[0:3]) ................................. 2-5 Chip Selects (CS[3:0]) ................................................................ 2-5 Byte Write Enables (A[27:24]/ CS[7:4]/ WE[0:3]) ....................... 2-5 Interrupt control signals ........................................................................ 2-5 Interrupt Priority Level/ Interrupt Request ................................. 2-7 Bus Control Signals .............................................................................. 2-8 Read/Write (R/W) Signal ............................................................ 2-8 Size (SIZ[1:0]) ............................................................................ 2-9 Transfer Type (TT[1:0]) .............................................................. 2-9 Access Type and Mode (ATM) ................................................... 2-9 Transfer Start (TS) ................................................................... 2-10 Transfer Acknowledge (TA) ..................................................... 2-10 Asynchronous Transfer Acknowledge (ATA) ........................... 2-10 Transfer Error Acknowledge (TEA) .......................................... 2-11 Bus Arbitration Signals ....................................................................... 2-11 Bus Request (BR) .................................................................... 2-11 Bus Grant (BG) ........................................................................ 2-11 Bus Driven (BD) ....................................................................... 2-12 .com Clock and Reset Signals .................................................................... 2-12 Clock Input (CLK) ..................................................................... 2-12 Reset (RSTI) ............................................................................ 2-12 Reset Out (RTS[2]/RSTO) ....................................................... 2-12 DRAM Controller Signals ................................................................... 2-13 Row Address Strobes (RAS[1:0]) ............................................. 2-13 Column Address Strobes (CAS[3:0]) ....................................... 2-13 DRAM Write (DRAMW) ............................................................ 2-14 UART Module Signals ........................................................................ 2-14 Receive Data (RxD[1], RxD[2]) ................................................ 2-14 Transmit Data (TxD[1], TxD[2]) ................................................ 2-15 Request To Send (RTS[1], RTS[2]/RSTO) .............................. 2-15 Clear To Send (CTS[1], CTS[2]) .............................................. 2-15 Timer Module Signals ........................................................................ 2-15 Timer Input (TIN[2], TIN[1]) ...................................................... 2-15 Timer Output (TOUT[2], TOUT[1]) ........................................... 2-15 DMA Module Signals .......................................................................... 2-15 DMA Request (DREQ[0], DREQ[1]) ......................................... 2-15 M-Bus Module Signals ....................................................................... 2-16 M-Bus Serial Clock (SCL) ........................................................ 2-16 M-Bus Serial Data (SDA) ......................................................... 2-16 General Purpose I/O Signals ............................................................. 2-16 General Purpose I/O (PP[7:4]/PST[3:0]) .................................. 2-16
Freescale Semiconductor, Inc...
e DataShe
.com
viii MCF5206E USER'S MANUAL For More Information On This Product, Go to: www.freescale.com MOTOROLA
DataSheet 4 U .com
www..com
Freescale Semiconductor, Inc.
TABLE OF CONTENTS (Continued)
Paragraph Number 2.13.2 2.14 2.14.1 2.14.2 2.14.3 2.14.4 2.14.5 2.14.6 2.15 2.15.1 2.15.2 2.15.3 2.15.4 2.15.5 2.16 2.16.1 2.16.2 2.17 Title Page Number
t4U.com
Freescale Semiconductor, Inc...
Parallel Port (General-Purpose I/O) (PP[3:0]/DDATA[3:0]) ......2-16 Debug Support Signals ......................................................................2-16 Processor Status (PP[7:4]/PST[3:0]) ........................................2-16 Debug Data (PP[3:0]/DDATA[3:0]) ...........................................2-17 Development Serial Clock (TRST/DSCLK) ..............................2-17 Break Point (TMS/BKPT) .........................................................2-18 Development Serial Input (TDI/DSI) .........................................2-18 Development Serial Output (TDO/DSO) ..................................2-18 JTAG Signals .....................................................................................2-18 Test Clock (TCK) ......................................................................2-18 Test Reset (TRST/DSCLK) ......................................................2-18 Test Mode Select (TMS/BKPT) ................................................2-19 Test Data Input (TDI/DSI) .........................................................2-19 Test Data Output (TDO/DSO) ..................................................2-19 Test Signals ........................................................................................2-20 Motorola Test Mode (MTMOD) ................................................2-20 High Impedance (HIZ) ..............................................................2-20 Signal Summary .................................................................................2-20
.com
e DataShe
Section 3 ColdFire Core
3.1 3.2 3.2.1 3.2.1.1 3.2.1.2 3.2.1.3 3.2.1.4 3.2.1.5 3.2.2 3.2.3 3.2.4 3.2.4.1 3.2.4.2 3.3 3.4 3.5 3.5.1 3.5.2 3.5.3 3.5.4
Processor Pipelines ..............................................................................3-1 Processor Register Description ............................................................3-2 User Programming Model ..........................................................3-2 Data Registers (D0-D7) .................................................3-2 Address Registers (A0-A6) ............................................3-2 Stack Pointer (A7) ...........................................................3-2 Program Counter ............................................................3-2 Condition Code Register .................................................3-3 MAC Unit User Programming Model ..........................................3-4 Hardware Divide Module ............................................................3-4 Supervisor Programming Model .................................................3-4 Status Register ...............................................................3-4 Vector Base Register (VBR) ...........................................3-5 Exception Processing Overview ...........................................................3-5 Exception Stack Frame Definition ........................................................3-7 Processor Exceptions ...........................................................................3-8 Access Error Exception ..............................................................3-8 Address Error Exception ............................................................3-9 Illegal Instruction Exception ........................................................3-9 Privilege Violation .......................................................................3-9
.com
MOTOROLA MCF5206E USER'S MANUAL For More Information On This Product, Go to: www.freescale.com ix
DataSheet 4 U .com
www..com
Freescale Semiconductor, Inc.
TABLE OF CONTENTS (Continued)
Paragraph Number 3.5.5 3.5.6 3.5.7 3.5.8 3.5.9 3.5.10 3.5.11 3.6 3.6.1 3.6.2 Title Page Number
Freescale Semiconductor, Inc...
Trace Exception ......................................................................... 3-9 Debug Interrupt ........................................................................ 3-10 RTE and Format Error Exceptions ........................................... 3-10 TRAP Instruction Exceptions ................................................... 3-10 Interrupt Exception ................................................................... 3-10 Fault-on-Fault Halt ................................................................... 3-11 Reset Exception ....................................................................... 3-11 Instruction Execution Timing .............................................................. 3-11 Timing Assumptions ................................................................. 3-11 MOVE Instruction Execution Times ......................................... 3-12 Section 4 Instruction Cache
t4U.com
4.1 4.2 4.3 4.3.1 4.3.2 4.3.3 4.3.4 4.3.5 4.4 4.4.1 4.4.2 4.4.2.1 4.4.2.2
Features of Instruction Cache .............................................................. 4-1 Instruction Cache Physical Organization ............................................. 4-1 Instruction Cache Operation ................................................................ 4-2 Interaction With Other Modules .................................................. 4-3 Memory Reference Attributes .................................................... 4-3 .com Cache Coherency and Invalidation ............................................ 4-3 Reset .......................................................................................... 4-4 Cache Miss Fetch Algorithm/Line Fills ....................................... 4-4 Instruction Cache Programming Model ................................................ 4-5 Instruction Cache Registers Memory Map ................................. 4-5 Instruction Cache Register ......................................................... 4-6 Cache Control Register (CACR) ..................................... 4-6 Access Control Registers (ACR0, ACR1) ....................... 4-8 Section 5 SRAM
e DataShe
5.1 5.2 5.3 5.3.1 5.3.2 5.3.2.1 5.3.3 5.3.4
SRAM Features .................................................................................... 5-1 SRAM Operation .................................................................................. 5-1 Programming Model ............................................................................. 5-1 SRAM Register Memory Map .................................................... 5-1 SRAM Register .......................................................................... 5-2 SRAM Base Address Register (RAMBAR) ..................... 5-2 SRAM Initialization ..................................................................... 5-3 Power Management ................................................................... 5-4
.com
x MCF5206E USER'S MANUAL For More Information On This Product, Go to: www.freescale.com MOTOROLA
DataSheet 4 U .com
www..com
Freescale Semiconductor, Inc.
TABLE OF CONTENTS (Continued)
Paragraph Number Title Section 6 Bus Operation 6.1 6.2 6.2.1 6.2.2 6.2.3 6.2.4 6.2.5 6.2.6 6.2.7 6.2.8 6.2.9 6.2.10 6.3 6.3.1 6.4 6.5 6.5.1 6.5.2 6.5.3 6.5.4 6.5.5 6.5.6 6.5.7 6.5.8 6.5.9 6.5.10 6.5.11 6.5.12 6.6 6.7 6.7.1 6.8 6.9 6.9.1 6.9.2 6.10 6.10.1 6.10.2 6.10.3 6.10.4 Features ...............................................................................................6-1 Bus and Control Signals .......................................................................6-1 Address Bus (A[27:0]) ................................................................6-1 Data Bus (D[31:0]) ......................................................................6-2 Transfer Start (TS) .....................................................................6-2 Read/Write (R/W) .......................................................................6-2 Size (SIZ[1:0]) ............................................................................6-2 Transfer Type (TT[1:0]) ..............................................................6-3 Access Type and Mode (ATM) ...................................................6-3 Asynchronous Transfer Acknowledge (ATA) .............................6-4 Transfer Acknowledge (TA) ........................................................6-4 Transfer Error Acknowledge (TEA) ............................................6-5 Bus Exceptions .....................................................................................6-5 Double Bus Fault ........................................................................6-5 Bus Characteristics ..............................................................................6-5 Data Transfer Mechanism ....................................................................6-6 Bus Sizing ..................................................................................6-7 .com Bursting Read Transfers: Word, Longword, and Line ..............6-16 Bursting Write Transfers: Word, Longword, and Line ..............6-19 Burst-Inhibited Read Transfer: Word, Longword, and Line ......6-22 Burst-Inhibited Write Transfer: Word, Longword, and Line ......6-26 Asynchronous-Acknowledge Read Transfer ............................6-29 Asynchronous Acknowledge Write Transfer ............................6-32 Bursting Read Transfers with Asynchronous Acknowledge..... 6-34 Bursting Write Transfers with Asynchronous Acknowledge .... 6-37 Burst-Inhibited Read Transfers with Asynch. Acknowledge..... 6-41 Burst-Inhibited Write Transfers with Asynch. Acknowledge ..... 6-44 Termination Tied to GND .........................................................6-47 Misaligned Operands .........................................................................6-48 Acknowledge Cycles ..........................................................................6-49 Interrupt Acknowledge Cycle ....................................................6-50 Bus Errors ..........................................................................................6-52 Bus Arbitration ....................................................................................6-54 Two Master Bus Arbitration Protocol (Two-Wire Mode) ...........6-54 Multiple Bus Master Arbitration Protocol (Three-Wire Mode) ...6-61 External Bus Master Operation ..........................................................6-67 External Master Read Transfer ............................................... 6-69 External Master Write Transfer ............................................... 6-72 External Master Bursting Read .................................................6-74 External Master Bursting Write .................................................6-77 Page Number
t4U.com
Freescale Semiconductor, Inc...
e DataShe
.com
MOTOROLA MCF5206E USER'S MANUAL For More Information On This Product, Go to: www.freescale.com xi
DataSheet 4 U .com
www..com
Freescale Semiconductor, Inc.
TABLE OF CONTENTS (Continued)
Paragraph Number 6.11 6.11.1 6.11.2 6.11.3 Title Page Number
Reset Operation ................................................................................. 6-81 Master Reset............................................................................. 6-81 Normal reset ............................................................................. 6-83 Software Watchdog Timer Reset Operation ............................ 6-84 Section 7 DMA Controller Module
t4U.com
7.1 7.2 7.3 7.4 7.4.1 7.4.2 7.4.3 7.4.4 7.4.5 7.4.6 7.5 7.5.1 7.5.2 7.6 7.6.1 7.6.2 7.6.2.1 7.6.2.2 7.7 7.7.1 7.7.1.1 7.7.1.2 7.7.2 7.7.2.1 7.7.2.2 7.7.2.3 7.7.3 7.7.3.1 7.7.3.2
Introduction .......................................................................................... 7-1 DMA Signal Description ....................................................................... 7-3 DMA Module Overview ........................................................................ 7-3 DMA Controller Module Programming Model ...................................... 7-6 Source Address Register (SAR) ................................................ 7-6 Destination Address Register (DAR) .......................................... 7-7 Byte Count Register (BCR) ........................................................ 7-7 DMA Control Register ................................................................ 7-8 DMA Status Register (DSR) ..................................................... 7-10 DMA Interrupt Vector Register ................................................. 7-12 Transfer Request Generation ............................................................. 7-12 .com Cycle Steal Mode ..................................................................... 7-12 Continuous Mode ..................................................................... 7-12 Data Transfer Modes ......................................................................... 7-13 Single Address Transactions ................................................... 7-13 Dual Address Transactions ...................................................... 7-13 Dual Address Reads ..................................................... 7-13 Dual Address Writes ..................................................... 7-13 DMA Controller Module Functional Description ................................. 7-14 Channel Initialization and Startup ............................................ 7-14 Channel Prioritization ................................................... 7-14 Programming the DMA Controller Module .................... 7-14 Data Transfers ......................................................................... 7-15 External DMA Request Operation ................................ 7-15 Auto-Alignment ............................................................. 7-16 BandWidth Control ....................................................... 7-17 Channel Termination ................................................................ 7-17 Error Conditions ............................................................ 7-17 Interrupts ...................................................................... 7-17 Section 8 System Integration Module
Freescale Semiconductor, Inc...
e DataShe
8.1
.com
xii
Introduction .......................................................................................... 8-1
DataSheet 4 U .com
MCF5206E USER'S MANUAL For More Information On This Product, Go to: www.freescale.com
MOTOROLA
www..com
Freescale Semiconductor, Inc.
TABLE OF CONTENTS (Continued)
Paragraph Number 8.1.1 8.2 8.2.1 8.2.2 8.2.3 8.2.4 8.2.5 8.3 8.3.1 8.3.2 8.3.2.1 8.3.2.2 8.3.2.3 8.3.2.4 8.3.2.5 8.3.2.6 8.3.2.7 8.3.2.8 8.3.2.9 8.3.2.10 8.4 8.4.1 Title Page Number
t4U.com
Freescale Semiconductor, Inc...
Features .....................................................................................8-1 SIM Operation ......................................................................................8-1 Module Base Address Register (MBAR) ....................................8-1 Bus Timeout Monitor ..................................................................8-2 Spurious Interrupt Monitor ..........................................................8-2 Software Watchdog Timer ..........................................................8-3 Interrupt Controller .....................................................................8-3 Programming Model .............................................................................8-6 SIM Registers Memory Map .......................................................8-6 SIM Registers .............................................................................8-7 Module Base Address Register (MBAR) ........................8-7 SIM Configuration Register (SIMR) ................................8-8 Interrupt Control Register (ICR) ......................................8-9 Interrupt Mask Register (IMR) ......................................8-11 Interrupt Pending Register (IPR) ..................................8-12 Reset Status Register (RSR) ........................................8-13 System Protection Control Register (SYPCR) ..............8-13 Software Watchdog Interrupt Vector Register (SWIVR) 8-15 Software Watchdog Service Register (SWSR) .............8-16 .com Pin Assignment Register (PAR) ....................................8-16 Bus Arbitration Control .......................................................................8-18 Bus Master Arbitration Control (MARB) ...................................8-18 Section 9 Chip-Select Module
e DataShe
9.1 9.1.1 9.2 9.2.1 9.2.1.1 9.2.1.2 9.2.1.3 9.2.1.4 9.2.1.5 9.3 9.3.1 9.3.1.1 9.3.1.2 9.3.1.3 9.3.2 9.3.3
Introduction ...........................................................................................9-1 Features .....................................................................................9-1 Chip Select Module I/O ........................................................................9-1 Control Signals ...........................................................................9-1 Chip Select (CS[7:0]) ......................................................9-1 Write Enable (WE[3:0]) ...................................................9-1 Address Bus ...................................................................9-3 Data Bus .........................................................................9-4 Transfer acknowledge (TA) ............................................9-4 Chip Select Operation ..........................................................................9-4 Chip Select Bank Definition ........................................................9-5 Base Address and Address masking ..............................9-5 Access Permissions ........................................................9-6 Control Features .............................................................9-6 Global Chip Select Operation .....................................................9-8 General Chip Select Operation ..................................................9-8
.com
MOTOROLA MCF5206E USER'S MANUAL For More Information On This Product, Go to: www.freescale.com xiii
DataSheet 4 U .com
www..com
Freescale Semiconductor, Inc.
TABLE OF CONTENTS (Continued)
Paragraph Number 9.3.3.1 9.3.3.2 9.3.3.3 9.3.3.4 9.3.3.5 9.3.3.6 9.3.4 9.3.4.1 9.3.4.2 9.3.4.3 9.4 9.4.1 9.4.2 9.4.2.1 9.4.2.2 9.4.2.3 9.4.2.4 Title Page Number
t4U.com
Freescale Semiconductor, Inc...
Nonburst Transfer with no Address Setup or Hold ......... 9-9 Nonburst Transfer With Address Setup ........................ 9-10 Nonburst Transfer With Address Setup and Hold ........ 9-11 Burst Transfer and Chip Selects ................................... 9-13 Burst Transfer With Address Setup .............................. 9-15 Burst Transfer With Address Setup and Hold ............... 9-17 External Master Chip Select Operation .................................... 9-20 External Master Nonburst Transfer .............................. 9-20 External Master Burst Transfer ..................................... 9-22 External Master Burst Transfer with Setup and Hold ... 9-24 Programming Model ........................................................................... 9-26 Chip Select Registers Memory Map ......................................... 9-26 Chip Select Controller Registers .............................................. 9-28 Chip Select Address Register (CSAR0 - CSAR7) ........ 9-28 Chip Select Mask Register (CSMR0 - CSMR7) ........... 9-29 Chip Select Control Register (CSCR0 - CSCR7) ......... 9-31 Default Memory Control Register (DMCR) ................... 9-38 Section 10 .com Parallel Port (General Purpose I/O Module)
e DataShe
10.1 10.2 10.3 10.3.1 10.3.2 10.3.2.1 10.3.2.2
Introduction ........................................................................................ 10-1 Parallel Port Operation ....................................................................... 10-1 Programming Model ........................................................................... 10-1 Parallel Port Registers Memory Map ....................................... 10-1 Parallel Port Registers ............................................................. 10-2 Port A Data Direction Register (PADDR) ..................... 10-2 Port A Data Register (PADAT) ..................................... 10-2 Section 11 DRAM Controller
11.1 11.1.1 11.2 11.2.1 11.2.1.1 11.2.1.2 11.2.1.3 11.2.2 11.2.3 11.3
.com
xiv
Introduction ......................................................................................... 11-1 Features ................................................................................... 11-1 DRAM Controller I/O .......................................................................... 11-1 Control Signals ......................................................................... 11-1 Row Address Strobes (RAS[0], RAS[1]) ....................... 11-1 Column Address Strobes(CAS[0:3]) ............................. 11-2 DRAM Write (DRAMW) ................................................ 11-3 Address Bus ............................................................................. 11-3 Data Bus .................................................................................. 11-4 DRAM Controller Operation ............................................................... 11-4
DataSheet 4 U .com
MCF5206E USER'S MANUAL For More Information On This Product, Go to: www.freescale.com
MOTOROLA
www..com
Freescale Semiconductor, Inc.
TABLE OF CONTENTS (Continued)
Paragraph Number 11.3.1 11.3.1.1 11.3.1.2 11.3.2 11.3.2.1 11.3.2.2 11.3.2.3 11.3.2.4 11.3.2.5 11.3.2.6 11.3.3 11.3.3.1 11.3.3.2 11.3.4 11.3.4.1 11.3.4.2 11.3.4.3 11.3.4.4 11.3.4.5 11.3.5 11.3.6 11.3.7 11.3.8 11.3.8.1 11.3.8.2 11.3.8.3 11.3.8.4 11.4 11.4.1 11.4.2 11.4.2.1 11.4.2.2 11.4.2.3 11.4.2.4 11.4.2.5 11.5 Title Page Number
t4U.com
Reset Operation .......................................................................11-4 Master Reset ................................................................11-5 Normal Reset ................................................................11-5 Definition of DRAM Banks ........................................................11-5 Base Address and Address Masking ............................11-5 Access Permissions ......................................................11-7 Timing ...........................................................................11-8 Page Mode ...................................................................11-8 Port Size/Page Size ......................................................11-8 Address Multiplexing .....................................................11-8 Normal Mode Operation .........................................................11-15 Nonburst Transfer In Normal Mode ............................11-16 Burst Transfer In Normal Mode ..................................11-18 Fast Page Mode Operation ....................................................11-21 Burst Transfer In Fast Page Mode ..............................11-21 Page Hit Read Transfer In Fast Page Mode ...............11-23 Page-Hit Write Transfer in Fast Page Mode ...............11-25 Page Miss Transfer in Fast Page Mode .....................11-27 Bus Arbitration ............................................................11-30 .com Burst Page-Mode Operation ...................................................11-32 Extended Data-Out (EDO) DRAM Operation .........................11-35 Refresh Operation ..................................................................11-38 External Master Use of the DRAM Controller .........................11-40 External Master Nonburst Transfer in Normal Mode ..11-41 External Master Burst Transfer in Normal Mode ........11-44 External Master Burst Transfer in Burst Page Mode ..11-47 Limitations ...................................................................11-50 Programming Model .........................................................................11-50 DRAM Controller Registers Memory Map ..............................11-50 DRAM Controller Registers ....................................................11-51 DRAM Controller Refresh Register (DCRR) ...............11-51 DRAM Controller Timing Register (DCTR) .................11-52 DRAM Controller Address Reg. (DCAR0 - DCAR1) ...11-58 DRAM Controller Mask Reg. (DCMR0 - DCMR1) ......11-59 DRAM Controller Control Reg. (DCCR0 - DCCR1) ....11-60 DRAM Initialization Example ............................................................11-61 Section 12 UART Modules
Freescale Semiconductor, Inc...
e DataShe
12.1 12.1.1
.com
MOTOROLA
Module Overview ................................................................................12-2 Serial Communication Channel ................................................12-2
DataSheet 4 U .com
MCF5206E USER'S MANUAL For More Information On This Product, Go to: www.freescale.com
xv
www..com
Freescale Semiconductor, Inc.
TABLE OF CONTENTS (Continued)
Paragraph Number 12.1.2 12.1.3 12.2 12.2.1 12.2.2 12.2.3 12.2.4 12.3 12.3.1 12.3.2 12.3.2.1 12.3.2.2 12.3.2.3 12.3.3 12.3.3.1 12.3.3.2 12.3.3.3 12.3.4 12.3.5 12.3.5.1 12.3.5.2 12.3.5.3 12.4 12.4.1 12.4.1.1 12.4.1.2 12.4.1.3 12.4.1.4 12.4.1.5 12.4.1.6 12.4.1.7 12.4.1.8 12.4.1.9 12.4.1.10 12.4.1.11 12.4.1.12 12.4.1.13 12.4.1.14 12.4.2 12.4.2.1 12.4.2.2 12.4.2.3 Title Page Number
t4U.com
Baud-Rate Generator/Timer ..................................................... 12-3 Interrupt Control Logic .............................................................. 12-3 UART Module Signal Definitions ........................................................ 12-3 Transmitter Serial Data Output (TxD) ...................................... 12-3 Receiver Serial Data Input (RxD) ............................................. 12-4 Request-To-Send (RTS) .......................................................... 12-4 Clear-To-Send (CTS) ............................................................... 12-4 Operation ........................................................................................... 12-5 Baud-Rate Generator/Timer ..................................................... 12-5 Transmitter and Receiver Operating Modes ............................ 12-6 Transmitter ................................................................... 12-6 Receiver ....................................................................... 12-9 FIFO Stack ................................................................. 12-11 Looping Modes ....................................................................... 12-12 Automatic Echo Mode ................................................ 12-12 Local Loopback Mode ................................................ 12-12 Remote Loopback Mode ............................................ 12-12 Multidrop Mode ...................................................................... 12-14 Bus Operation ........................................................................ 12-16 .com Read Cycles ............................................................... 12-16 Write Cycles ............................................................... 12-16 Interrupt Acknowledge Cycles .................................... 12-16 Register Description and Programming ........................................... 12-16 Register Description ............................................................... 12-16 Mode Register 1 (UMR1) ............................................ 12-17 Mode Register 2 (UMR2) ............................................ 12-19 Status Register (USR) ................................................ 12-21 Clock-Select Register (UCSR) ................................... 12-24 Command Register (UCR) ......................................... 12-24 Receiver Buffer (URB) ................................................ 12-27 Transmitter Buffer (UTB) ............................................ 12-28 Input Port Change Register (UIPCR) ......................... 12-28 Auxiliary Control Register (UACR) ............................. 12-29 Interrupt Status Register (UISR) ................................. 12-29 Interrupt Mask Register (UIMR) .................................. 12-30 Timer Upper Preload Register 1 (UBG1) .................... 12-31 Timer Upper Preload Register 2 (UBG2) .................... 12-31 Interrupt Vector Register (UIVR) ................................ 12-31 Programming .......................................................................... 12-33 UART Module Initialization ......................................... 12-33 I/O Driver Example ..................................................... 12-33 Interrupt Handling ....................................................... 12-33
Freescale Semiconductor, Inc...
e DataShe
.com
xvi MCF5206E USER'S MANUAL For More Information On This Product, Go to: www.freescale.com MOTOROLA
DataSheet 4 U .com
www..com
Freescale Semiconductor, Inc.
TABLE OF CONTENTS (Continued)
Paragraph Number 12.5 Title Page Number
UART Module Initialization Sequence ..............................................12-34 Section 13 M-Bus Module
t4U.com
13.1 13.2 13.3 13.4 13.4.1 13.4.2 13.4.3 13.4.4 13.4.5 13.4.6 13.4.7 13.4.8 13.4.9 13.5 13.5.1 13.5.2 13.5.3 13.5.4 13.5.5 13.6 13.6.1 13.6.2 13.6.3 13.6.4 13.6.5 13.6.6 13.6.7
Overview ............................................................................................13-1 Interface Features ..............................................................................13-1 M-Bus System Configuration ..............................................................13-2 M-Bus Protocol ...................................................................................13-3 START Signal ...........................................................................13-3 Slave Address Transmission ....................................................13-3 Data Transfer ...........................................................................13-4 Repeated START Signal ..........................................................13-4 STOP Signal .............................................................................13-4 Arbitration Procedure ...............................................................13-4 Clock Synchronization ..............................................................13-5 Handshaking ............................................................................13-5 Clock Stretching .......................................................................13-5 Programming Model ...........................................................................13-6 M-Bus Address .com ............................................13-6 Register (MADR) M-Bus Frequency Divider Register (MFDR) ...........................13-6 M-Bus Control Register (MBCR) ...........................................13-8 M-Bus Status Register (MBSR) ................................................13-9 M-Bus Data I/O Register (MBDR) ..........................................13-11 M-Bus Programming Examples ........................................................13-11 Initialization Sequence ...........................................................13-11 Generation of START .............................................................13-11 Post-Transfer Software Response .........................................13-12 Generation of STOP ...............................................................13-13 Generation of Repeated START ............................................13-14 Slave Mode ............................................................................13-14 Arbitration Lost .......................................................................13-14 Section 14 Timer Module
Freescale Semiconductor, Inc...
e DataShe
14.1 14.2 14.3 14.3.1 14.3.2 14.3.3
.com
MOTOROLA
Overview of the Timer Module ...........................................................14-1 Overview of Key Features ..................................................................14-1 General-Purpose Timer Units .............................................................14-2 Selecting the Prescaler ............................................................14-3 Capture Mode ...........................................................................14-3 Configuring the Timer for Reference Compare ........................14-3
DataSheet 4 U .com
MCF5206E USER'S MANUAL For More Information On This Product, Go to: www.freescale.com
xvii
www..com
Freescale Semiconductor, Inc.
TABLE OF CONTENTS (Continued)
Paragraph Number 14.3.4 14.4 14.4.1 14.4.1.1 14.4.1.2 14.4.1.3 14.4.1.4 14.4.1.5 Title Page Number
Configuring the Timer for Output Mode .................................... 14-3 Programming Model ........................................................................... 14-3 Understanding the General-Purpose Timer Registers ............. 14-3 Timer Mode Register (TMR) ......................................... 14-4 Timer Reference Register (TRR) .................................. 14-5 Timer Capture Register (TCR) ..................................... 14-5 Timer Counter (TCN) .................................................... 14-5 Timer Event Register (TER) ......................................... 14-6 Section 15 Debug Support
Freescale Semiconductor, Inc...
t4U.com
15.1 15.2 15.2.1 15.2.2 15.2.3 15.2.3.1 15.2.3.2 15.2.3.3 15.2.3.4 15.3 15.3.1 15.3.1.1 15.3.1.2 15.3.2 15.3.3 15.3.3.1 15.3.3.2 15.3.3.3 15.3.3.4 15.3.3.5 15.3.3.6 15.4 15.4.1
Real-Time Trace ................................................................................ 15-1 Background Debug Mode (BDM) ....................................................... 15-4 CPU Halt .................................................................................. 15-4 BDM Serial Interface ................................................................ 15-6 BDM Command Set ................................................................. 15-7 BDM Command Set Summary ..................................... 15-8 ColdFire BDM Commands ............................................ 15-9 .com Command Sequence Diagram ................................... 15-10 Command Set Descriptions ........................................ 15-11 Real-Time Debug Support ............................................................... 15-26 Theory of Operation ............................................................... 15-26 Emulator Mode ........................................................... 15-27 Debug Module Hardware ............................................ 15-28 Concurrent BDM and Processor Operation ........................... 15-28 Programming Model ............................................................... 15-29 Address Breakpoint Registers (ABLR, ABHR) ........... 15-30 Address Attribute Breakpoint Register (AATR) .......... 15-30 Program Counter Breakpoint Register (PBR, PBMR) 15-32 Data Breakpoint Register (DBR, DBMR) .................... 15-32 Trigger Definition Register (TDR) ............................... 15-33 Configuration/Status Register (CSR) .......................... 15-35 Motorola Recommended BDM Pinout .............................................. 15-38 Differences Between the ColdFire BDM and CPU32 BDM .... 15-38 Section 16 IEEE 1149.1 Test Access Port/JTAG
e DataShe
16.1 16.2 16.3
.com
xviii
Overview ............................................................................................ 16-2 JTAG Pin Descriptions ....................................................................... 16-2 JTAG Register Descriptions ............................................................... 16-3
DataSheet 4 U .com
MCF5206E USER'S MANUAL For More Information On This Product, Go to: www.freescale.com
MOTOROLA
www..com
Freescale Semiconductor, Inc.
TABLE OF CONTENTS (Continued)
Paragraph Number 16.3.1 16.3.1.1 16.3.1.2 16.3.1.3 16.3.1.4 16.3.1.5 16.3.1.6 16.3.2 16.3.3 16.3.4 16.4 16.5 16.6 16.7 16.8 Title Page Number
Freescale Semiconductor, Inc...
JTAG Instruction Shift Register ...............................................16-3 EXTEST Instruction .....................................................16-3 IDCODE .......................................................................16-4 SAMPLE/PRELOAD Instruction ..................................16-4 HIGHZ Instruction ........................................................16-4 CLAMP Instruction .......................................................16-5 BYPASS Instruction .....................................................16-5 IDcode Register ........................................................................16-5 JTAG Boundary-Scan Register ................................................16-6 JTAG Bypass Register .............................................................16-6 TAP Controller ....................................................................................16-6 Restrictions .........................................................................................16-7 Disabling the IEEE 1149.1 Standard Operation .................................16-8 Motorola MCF5206E BSDL Description .............................................16-9 Obtaining the IEEE 1149.1 Standard .................................................16-9 Section 17 Electrical Characteristics
t4U.com
e DataShe
17.1 17.1.1 17.1.2 17.1.3 17.1.4 17.2 17.3 17.3.1 17.3.2 17.3.3 17.3.4 17.3.5 17.3.6 17.3.7 17.3.8 17.3.9 17.3.10 17.3.11 17.3.12 17.3.12.1 17.3.12.2 17.3.12.3 17.3.13
.com Maximum Ratings................................................................................17-1 Supply, Input Voltage and Storage Temperature .....................17-1 Operating Temperature ............................................................17-2 Thermal Resistance .................................................................17-2 Output Loading .........................................................................17-2 DC Electrical Specifications ...............................................................17-3 AC Electrical Specifications ................................................................17-4 Clock Input Timing Specifications ............................................17-4 Clock Input Timing Diagram .....................................................17-4 Processor Bus Input Timing Specifications ..............................17-5 Input Timing Waveform Diagram ..............................................17-6 Processor Bus Output Timing Specifications ...........................17-7 Output Timing Waveform Diagram ...........................................17-8 Processor Bus Timing Diagrams ..............................................17-9 Timer Module AC Timing Specifications ................................17-15 Timer Module Timing Diagram ...............................................17-15 UART Module AC Timing Specifications ................................17-16 UART Module Timing Diagram ..............................................17-16 M-Bus Module AC Timing Specifications ...............................17-17 Input Timing Specifications Between SCL and SDA ...17-17 Output Timing Specifications Between SCL and SDA 17-18 Timing Specifications Between CLK and SCL, SDA ...17-18 M-Bus Module Timing Diagram ..............................................17-19
.com
MOTOROLA MCF5206E USER'S MANUAL For More Information On This Product, Go to: www.freescale.com xix
DataSheet 4 U .com
www..com
Freescale Semiconductor, Inc.
TABLE OF CONTENTS (Continued)
Paragraph Number 17.3.14 17.3.15 17.3.16 17.3.17 17.3.18 17.3.19 Title Page Number
General-Purpose I/O Port AC Timing Specifications ............. 17-20 General-Purpose I/O Port Timing Diagram ............................ 17-20 DMA Controller AC Timing Specifications .............................. 17-21 DMA Controller Timing Diagram ............................................ 17-21 IEEE 1149.1 (JTAG) AC Timing Specifications ..................... 17-21 IEEE 1149.1 (JTAG) Timing Diagram .................................... 17-22 Section 18 Mechanical Data
Freescale Semiconductor, Inc...
18.1 18.1.1 18.2 18.3
Package Diagram & Pinout ................................................................ 18-2 Package/Frequency Availability .............................................. 18-2 Documentation ................................................................................... 18-3 Development Tools ............................................................................ 18-3 Appendix A MCF5206E Memory Map Summary Appendix B .com Porting From M68000 Family Devices
t4U.com
e DataShe
B.1 B.2 B.3 B.4 B.5
C-Compilers and Host Software ............................................................B-i Target Software Port .............................................................................B-i Initialization Code ................................................................................. B-ii Exception Handlers .............................................................................. B-ii Supervisor Registers ........................................................................... B-iii
.com
xx MCF5206E USER'S MANUAL For More Information On This Product, Go to: www.freescale.com MOTOROLA
DataSheet 4 U .com
www..com
Freescale Semiconductor, Inc.
LIST OF ILLUSTRATIONS
Figure Number 1-1. 1-2. 3-1. 3-2. 3-3. 3-4. 3-5. 4-1. 6-1. 6-2. 6-3. 6-4. 6-5. 6-6. 6-7. 6-8. 6-9. 6-10. 6-11. 6-12. 6-13. 6-14. 6-15. 6-16. 6-17. 6-18. 6-19. 6-20. 6-21. 6-22. 6-23. 6-24.
.com
MOTOROLA MCF5206E USER'S MANUAL For More Information On This Product, Go to: www.freescale.com xxi
Title
Page Number
MCF5206E Block Diagram ............................................................................... 1-4 Programming Model........................................................................................ 1-8 ColdFire Processor Core Pipelines .................................................................. User Programming Model ................................................................................ MAC Unit User Programming Model................................................................ Supervisor Programming Model....................................................................... Exception Stack Frame Form........................................................................... 3-1 3-3 3-4 3-4 3-7
Freescale Semiconductor, Inc...
Instruction Cache Block Diagram..................................................................... 4-2 Signal Relationships to CLK............................................................................. 6-6 Internal Operand Representation..................................................................... 6-8 .com MCF5206E Interface to Various Port Sizes...................................................... 6-8 Byte-, Word-, and Longword-Read Transfer Flowchart ................................. 6-11 Longword-Read Transfer From a 32 bit Port (No Wait States) ...................... 6-12 Byte-, Word-, and Longword-Write Transfer Flowchart.................................. 6-14 Word-Write Transfer to a 16 bit Port (No Wait States)................................... 6-15 Bursting Word-, Longword-, and Line-Read Transfer Flowchart.................... 6-17 Bursting Word-Read From an 8 bit Port (No Wait States) ............................. 6-18 Word-, Longword-, and Line-Write Transfer Flowchart .................................. 6-20 Line-Write Transfer to a 32 bit Port (No Wait States)..................................... 6-21 Burst-Inhibited Word-, Longword-, and Line-Read Transfer Flowchart.......... 6-24 Burst-Inhibited Longword Read From an 8 bit Port (No Wait States) ............ 6-25 Burst-Inhibited Byte-, Word-, and Longword-Write Transfer Flowchart ......... 6-27 Burst-Inhibited Longword-Write Transfer to a 16 bit Port (No Wait States)............................................................................................. 6-28 Byte-, Word-, and Longword-Read Transfer Flowchart ................................. 6-30 Byte-Read Transfer from an 8-Bit Port Using Async. Termination............ 6-31 Byte-, Word-, and Longword-Write Transfer Flowchart................................ 6-32 Byte-Write Transfer to a 32-Bit Port Using Async. Termination .....................6-33 Bursting Word-, Longword-, and Line-Read Transfer Flowchart ....................6-35 Bursting Longword-Read from 16 bit Port ......................................................6-36 Word-, Longword-, and Line-Write Transfer Flowchart ...................................6-38 Bursting Line-Write from 32 bit Port Using Async. Termination ....................6-39 Burst-Inhibited Word-, Longword-, and Line-Read Transfer Flowchart ..........6-42
t4U.com
e DataShe
DataSheet 4 U .com
www..com
Freescale Semiconductor, Inc.
LIST OF ILLUSTRATIONS (Continued)
Figure Number 6-25. 6-26. 6-27. 6-28. 6-29. 6-30. 6-31. 6-32. 6-33. 6-34. 6-35. 6-36. 6-37. 6-38. 6-39. 6-40. 6-41. 6-42. 6-43. 6-44. 6-45. 6-46. 6-47. 6-48. 6-49. 6-50. 6-51. 7-1. 7-2. 7-3. 7-4. 7-5. 7-6. 9-1. 9-2. 9-3. 9-4. 9-5.
.com
xxii MCF5206E USER'S MANUAL For More Information On This Product, Go to: www.freescale.com MOTOROLA
Title
Page Number
t4U.com
Freescale Semiconductor, Inc...
Burst-Inhibited Word Read from 8 bit Port Using Async. Termination ........... 6-43 Burst-Inhibited Word-, Longword-, and Line-Write Transfer Flowchart .......... 6-45 Burst-Inhibited Longword-Write Transfer to 16 bit Port .................................. 6-46 Example of a Misaligned Longword Transfer ................................................. 6-48 Example of a Misaligned Word Transfer ........................................................ 6-48 Interrupt Acknowledge Cycle Flowchart......................................................... 6-50 Interrupt Acknowledge Bus Cycle Timing (No Wait States)........................... 6-51 Bursting Longword-Read Access from 16 bit Port ........................................ 6-53 MCF5206E Two-Wire Mode Bus Arbitration Interface ................................... 6-55 Two-Wire Implicit and Explicit Bus Ownership............................................... 6-57 Two-Wire Bus Arbitration with Bus Lock Negated ......................................... 6-58 Two-Wire Bus Arbitration with Bus Lock Asserted......................................... 6-59 MCF5206E Two-Wire Bus Arbitration Protocol State Diagram ...................... 6-60 Three-Wire Implicit and Explicit Bus Ownership ............................................ 6-63 Three-Wire Bus Arbitration with Bus Lock Bit Asserted................................. 6-64 MCF5206E Bus Arbitration Protocol State Diagram ...................................... 6-65 Alternate Master Read Transfer using MCF5206E-Generated Transfer Acknowledge Flowchart................................................................... 6-70 Alternate Master Read Transfer...................................................................... 6-71 .com Alternate Master Write Transfer..................................................................... 6-72 Alternate Master Write Transfer Using Transfer-Acknowledge Timing ......... 6-73 Alternate Master Bursting Read Transfer Flowchart ...................................... 6-75 Alternate Master Bursting Longword Read Transfer to an 8 bit Port ............ 6-76 Alternate Master Bursting Write Transfer Flowchart ...................................... 6-79 Alternate Master Bursting Longword Write Transfer to a 16 bit Port ............. 6-80 Master Reset Timing...................................................................................... 6-82 Normal Reset Timing ..................................................................................... 6-83 Software Watchdog Timer Reset Timing ....................................................... 6-84 DMA Signal Diagram ....................................................................................... 7-2 Single-Address Transfers ................................................................................ 7-5 Dual-Address Transfer..................................................................................... 7-5 DMA Controller Module Register Model Per Channel ..................................... 7-6 External Request Timing - Cycle-Steal Mode, Single-Address Mode............ 7-15 External Request Timing - Cycle-Steal Mode, Dual-Address Mode .............. 7-16 MCF5206E Interface to Various Port Sizes...................................................... 9-4 Longword Write Transfer from a 32 bit Port .................................................... 9-9 Word Write Transfer to a 16 bit Port ............................................................... 9-10 Byte Write Transfer from an 8 bit Port .......................................................... 9-12 Longword Burst Read Transfer from a 16 bit Port ......................................... 9-14
e DataShe
DataSheet 4 U .com
www..com
Freescale Semiconductor, Inc.
LIST OF ILLUSTRATIONS (Continued)
Figure Number 9-6. 9-7. 9-8. 9-9. 9-10. 9-11. 9-12. 9-13. 9-14. 9-15. 9-16. 9-17. 9-18. 9-19. 9-20. 11-1. 11-2. 11-3. 11-4. 11-5. 11-6. 11-7. 11-8. 11-9. 11-10. 11-11. 11-12. 11-13. 11-14. 11-15. 11-16. 11-17. 11-18. 11-19.
.com
MOTOROLA MCF5206E USER'S MANUAL For More Information On This Product, Go to: www.freescale.com xxiii
Title
Page Number
Freescale Semiconductor, Inc...
Longword Burst Read Transfer from a 16 bit Port ..........................................9-16 Word Burst Read Transfer from an 8 bit Port..................................................9-18 Alternate Master Longword Read Transfer from a 32 bit Port ........................9-21 Alternate Master Longword Read Transfer from a 16 bit Port ......................9-23 Alternate Master Longword Read Transfer from a 16 bit Port ...................... 9-25 Chip-Select and Write-Enable Assertion with ASET = 0 Timing ....................9-34 Chip-Select and Write-Enable Assertion with ASET = 1 Timing .................... 9-34 Address Hold Timing with WRAH = 0 .............................................................9-36 Address Hold Timing with WRAH = 1 ............................................................9-36 Address Hold Timing with RDAH = 0 .............................................................9-37 Address Hold Timing with RDAH = 1 .............................................................9-38 Default Memory Address Hold Timing with WRAH = 0 ..................................9-41 Default Memory Address Hold Timing with WRAH = 1 ..................................9-42 Default Memory Address Hold Timing with RDAH = 0 ...................................9-43 Default Memory Address Hold Timing with RDAH = 1 ...................................9-43 MCF5206E Interface to Various Port Sizes.................................................... 11-4 Address Multiplexing For 8-bit DRAM With 512 Byte Page Size ................... 11-9 Connection Diagram for 4MByte DRAM with 8 bit Port and 1 KByte Page.. 11-15 .com Connection Diagram for 1MByte DRAM with 8 bit Port and 1 KByte Page.. 11-15 Byte Read Transfers in Normal Mode with 8 bit DRAM ...............................11-17 Longword Write Transfer in Normal Mode with 16 bit DRAM ...................... 11-19 Word Write Transfer in Fast Page Mode with 8 Bit DRAM .......................... 11-22 Longword Read Transfer Followed by a Page Hit Longword Read Transfer in Fast Page Mode with 32 bit DRAM ...................................................................... 11-24 Word Write Transfer Followed by a Page-Hit Word Write Transfer in Fast Page Mode with 16 bit DRAM ......................................................................................... 11-26 Byte Read Transfer Followed by a Page-Miss Byte Read Transfer in Fast Page Mode with 8 bit DRAM ................................................................................. 11-28 Bus Arbitration in Fast Page Mode .............................................................. 11-31 Longword Write Transfer Followed by a Word Read Transfer in Burst Page Mode with 16 bit DRAM ......................................................................................... 11-33 Word Read Transfer Followed by a Page Miss Byte Read Transfer in Fast Page Mode with 8 bit EDO DRAM......................................................................... 11-36 Alternate Master Byte Read Transfer Followed by Byte Write Transfer in Normal Mode with 16 bit DRAM ............................................................................... 11-42 Alt. Master Longword Write Transfer in Normal Mode with 16 bit DRAM ....11-45 Alt. Master Word Read Transfer in Burst Page Mode with 8 bit DRAM ....... 11-48 Normal Mode DRAM Transfer Timing.......................................................... 11-53 Fast Page Mode or Burst Page Mode DRAM Transfer Timing .................... 11-54 Fast Page Mode or Burst Page Mode DRAM Transfer Timing .................... 11-54
t4U.com
e DataShe
DataSheet 4 U .com
www..com
Freescale Semiconductor, Inc.
LIST OF ILLUSTRATIONS (Continued)
Figure Number Title Page Number
11-20. Fast Page Mode Page Hit and Page Miss DRAM Transfer Timing ............. 11-56 11-21. Fast Page Mode or Burst Page Mode EDO DRAM Transfer Timing ........... 11-57 11-22. CAS Before RAS Refresh Cycle Timing ...................................................... 11-58 12-1. 12-2. 12-3. 12-4. 12-5. 12-6. 12-7. 12-8. 13-1. 13-2. 13-3. 13-4. UART Block Diagram..................................................................................... 12-1 External and Internal Interface Signals .......................................................... 12-4 Baud-Rate Timer Generator Diagram............................................................ 12-5 Transmitter and Receiver Functional Diagram .............................................. 12-7 Transmitter Timing Diagram .......................................................................... 12-8 Receiver Timing Diagram ............................................................................ 12-10 Looping Modes Functional Diagram ............................................................ 12-13 Multidrop Mode Timing Diagram.................................................................. 12-15 M-Bus Module Block Diagram ....................................................................... 13-2 M-Bus Standard Communication Protocol..................................................... 13-3 Synchronized Clock SCL ............................................................................... 13-5 Flow-Chart of Typical M-Bus Interrupt Routine............................................ 13-16
.com
t4U.com
Freescale Semiconductor, Inc...
e DataShe
14-1. Timer Block Diagram Module Operation........................................................ 14-2 15-1. 15-2. 15-3. 15-4. 15-5. 15-6. 15-7. 15-8. 16-1. 16-2. 16-3. 16-4. Processor/Debug Module Interface ............................................................... 15-1 Pipeline Timing Example (Debug Output) ...................................................... 15-3 BDM Serial Transfer ....................................................................................... 15-6 BDM Signal Sampling .................................................................................... 15-7 Command Sequence Diagram..................................................................... 15-11 Debug Programming Model ......................................................................... 15-29 26-Pin Berg Connector Arranged 2x13........................................................ 15-38 Serial Transfer Illustration ............................................................................ 15-39 JTAG Test Logic Block Diagram.................................................................... JTAG TAP Controller State Machine ............................................................. Disabling JTAG in JTAG Mode ...................................................................... Disabling JTAG in Debug Mode..................................................................... 16-2 16-7 16-8 16-9
17-1. Clock Input Timing ......................................................................................... 17-5 17-2. Input Timing Waveform Requirements .......................................................... 17-7 17-3. Output Timing Waveform ............................................................................... 17-9
.com
xxiv MCF5206E USER'S MANUAL For More Information On This Product, Go to: www.freescale.com MOTOROLA
DataSheet 4 U .com
www..com
Freescale Semiconductor, Inc.
LIST OF ILLUSTRATIONS (Continued)
Figure Number 17-4. 17-5. 17-6. 17-7. 17-8. 17-9. 17-10. 17-11. 17-12. 17-13. 17-14. 17-15. 17-16. Title Page Number
Freescale Semiconductor, Inc...
Reset Configuration Timing.......................................................................... 17-10 Read and Write Timing ................................................................................17-11 Bus Arbitration Timing.................................................................................. 17-12 DRAM Signal Timing.................................................................................... 17-13 DRAM Refresh Cycle Timing ....................................................................... 17-13 DRAM Control By Alternate Master Timing.................................................. 17-14 Miscellaneous Signal Timing........................................................................ 17-15 Timer Timing ................................................................................................ 17-16 UART Timing................................................................................................ 17-17 M-Bus Timing ............................................................................................... 17-20 General-Purpose I/O Port Timing................................................................. 17-21 DMA Timing ..................................................................................................17-22 IEEE 1149.1 (JTAG) Timing......................................................................... 17-23
18-1. MCF5206E Package Diagram & Pinout ..........................................................18-2
t4U.com
e DataShe
.com
.com
MOTOROLA MCF5206E USER'S MANUAL For More Information On This Product, Go to: www.freescale.com xxv
DataSheet 4 U .com
www..com
Freescale Semiconductor, Inc.
LIST OF ILLUSTRATIONS (Continued)
Figure Number Title Page Number
t4U.com
Freescale Semiconductor, Inc...
e DataShe
.com
.com
xxvi MCF5206E USER'S MANUAL For More Information On This Product, Go to: www.freescale.com MOTOROLA
DataSheet 4 U .com
www..com
Freescale Semiconductor, Inc.
LIST OF TABLES
Table Number 1-1. 1-2. 1-3. 1-4. Title Page Number
Specific Effective Addressing Modes .............................................................. 1-7 MOVE Specific Effective Addressing Modes ................................................. 1-7 ColdFire MCF5206E Data Formats ................................................................. 1-9 Instruction Set Summary.............................................................................. 1-10 MCF5206E Signal Index................................................................................. 2-2 Address Bus.................................................................................................... 2-3 Byte Write-Enable Signals ............................................................................. 2-6 Interrupt Levels for Encoded External Interrupts..............................................2-7 Boot CS[0] Automatic Acknowledge (AA) Enable ........................................... 2-8 Interrupt Request Encodings for CS[0] ........................................................... 2-8 Data Transfer Size Encoding .......................................................................... 2-9 Bus Cycle Transfer Type Encoding................................................................. 2-9 ATM Encoding................................................................................................ 2-9 CAS Assertion.............................................................................................. 2-13 .com Processor Status Encodings ......................................................................... 2-16 MCF5206E Signal Summary ........................................................................ 2-19 Exception Vector Assignments ....................................................................... 3-7 Format Field Encodings .................................................................................. 3-8 Fault Status Encodings ................................................................................... 3-8 Misaligned Operand References.................................................................. 3-12 Move Byte and Word Execution Times ......................................................... 3-13 Move Long Execution Times........................................................................ 3-13 One-Operand Instruction Execution Times ................................................... 3-14 Two-Operand Instruction Execution Times ................................................... 3-15 Miscellaneous Instruction Execution Times .................................................. 3-17 General Branch Instruction Execution Times................................................ 3-18 BRA, Bcc Instruction Execution Times.......................................................... 3-18 Initial Fetch Offset vs. CLNF Bits .................................................................... 4-4 Instruction Cache Operation as Defined by CACR[31,10] ..............................4-5 Memory Map of I-Cache Registers ................................................................. 4-6 External Fetch Size Based on Miss Address and CLNF................................. 4-8
Freescale Semiconductor, Inc...
t4U.com
2-1. 2-2. 2-3. 2-4. 2-5. 2-6. 2-7. 2-8. 2-9. 2-10. 2-11. 2-12. 3-1. 3-2. 3-3. 3-4. 3-5. 3-6. 3-7. 3-8. 3-9. 3-10. 3-11. 4-1. 4-2. 4-3. 4-4.
e DataShe
.com
MOTOROLA MCF5206E USER'S MANUAL For More Information On This Product, Go to: www.freescale.com xxvii
DataSheet 4 U .com
www..com
Freescale Semiconductor, Inc.
LIST OF TABLES (Continued)
Figure Number 5-1. 5-2. 6-1. 6-2. 6-3. 6-4. 6-5. 6-6. 6-7. 6-8. 6-9. 6-10. 6-11. 6-12. 6-13. 6-14. 7-1. 7-2. 7-3. 7-4. 7-5. 8-1. 8-2. 8-3. 8-4. 8-5. 8-6. 8-7. 8-8. 8-9. Title Page Number
Memory Map of SIM Registers ....................................................................... 5-2 Examples of Typical RAMBAR Settings ......................................................... 5-4 SIZx Encoding................................................................................................. 6-2 Transfer Type Encoding.................................................................................. 6-3 ATM Encoding ................................................................................................ 6-3 Chip Select, DRAM and Default Memory Address Decoding Priority ............. 6-7 SIZx Encoding for Burst- and Bursting-Inhibited Ports ................................... 6-9 Address Offset Encoding ................................................................................ 6-9 Data Bus Requirement for Read Cycles ...................................................... 6-10 Internal to External Data Bus Multiplexer - Write Cycle ................................ 6-13 SIZx Encoding for Burst- and Bursting-Inhibited Ports ................................. 6-19 MCF5206E Two-Wire Bus Arbitration Protocol Transition Conditions .......... 6-59 MCF5206E Two-Wire Arbitration Protocol State Diagram ............................ 6-60 MCF5206E Three-Wire Bus Arbitration Protocol Transition Conditions....... 6-65 MCF5206E Three-Wire Arbitration Protocol State Diagram.......................... 6-66 Signal Source During Alternate Master Accesses ........................................ 6-69 DMA Signals .................................................................................................... 7-3 DMA Controller Module Channel Offsets......................................................... 7-6 BWC Encoding ................................................................................................ 7-9 SSIZE Encoding............................................................................................ 7-10 DSIZE Encoding ........................................................................................... 7-10 Interrupt Levels for Encoded External Interrupts ............................................ 8-4 Memory Map of SIM Registers ....................................................................... 8-7 Interrupt Control Register Assignments ........................................................ 8-10 Interrupt Mask Register Bit Assignments..................................................... 8-11 Interrupt Pending Register Bit Assignments ................................................ 8-12 SWT Timeout Period..................................................................................... 8-15 Bus Monitor Timeout Periods........................................................................ 8-15 PAR3 - PAR0 Pin Assignment ..................................................................... 8-17 Arbitration Control Encodings (ARBCTRL) .................................................... 8-19
.com
t4U.com
Freescale Semiconductor, Inc...
e DataShe
.com
xxviii MCF5206E USER'S MANUAL For More Information On This Product, Go to: www.freescale.com MOTOROLA
DataSheet 4 U .com
www..com
Freescale Semiconductor, Inc.
LIST OF TABLES (Continued)
Figure Number 9-1. 9-2. 9-3. 9-4. 9-5. 9-6. 9-7. 9-8. Title Page Number
Data Bus Byte Write-Enable Signals.............................................................. 9-2 Maximum Memory Bank Sizes........................................................................ 9-4 Chip-Select, DRAM and Default Memory Address Decoding Priority ............. 9-6 Memory Map of Chip-Select Registers ........................................................ 9-27 BA Field Comparisons for Alternate Master Transfers................................. 9-29 IRQ4 and IRQ1 Selection of CS[0] Port Size ................................................ 9-32 IRQ7 Selection of CS[0] Acknowledge Generation....................................... 9-32 Port Size Encodings...................................................................................... 9-39 Memory Map of Parallel Port Registers ........................................................ 10-1 Data Direction Register Bit Assignments ...................................................... 10-2 Data Register Bit Assignments ..................................................................... 10-3 CAS Assertion.............................................................................................. 11-2 Maximum DRAM Bank Sizes ........................................................................ 11-3 DRAM Bank Programming Example 1.......................................................... 11-6 Chip-Select, DRAM and Default Memory Address Decoding Priority ........... 11-7 DRAM Bank Programming Example 2.......................................................... 11-8 .com 8-bit Port Size Address Multiplexing Configurations ................................... 11-11 16-bit Port Size Address Multiplexing Configurations ................................ 11-12 32-bit Port Size Address Multiplexing Configurations ................................ 11-13 Bank Page Size Versus Actual DRAM Page Size ...................................... 11-14 Memory Map of DRAM Controller Registers............................................... 11-51 UART Module Programming Model ............................................................ PMx and PT Control Bits............................................................................. B/Cx Control Bits......................................................................................... CMx Control Bits ......................................................................................... SBx Control Bits ......................................................................................... RCSx Control Bits ....................................................................................... TCSx Control Bits........................................................................................ MISCx Control Bits...................................................................................... TCx Control Bits .......................................................................................... RCx Control Bits.......................................................................................... 12-17 12-18 12-19 12-19 12-20 12-24 12-24 12-25 12-26 12-27
Freescale Semiconductor, Inc...
10-1. 10-2. 10-3. 11-1. 11-2. 11-3. 11-4. 11-5. 11-6. 11-7. 11-8. 11-9. 11-10. 12-1. 12-2. 12-3. 12-4. 12-5. 12-6. 12-7. 12-8. 12-9. 12-10. 13-1. 13-2.
t4U.com
e DataShe
M-Bus Interface Programmer's Model .......................................................... 13-6 MBUS Prescalar Values............................................................................... 13-7
.com
MOTOROLA MCF5206E USER'S MANUAL For More Information On This Product, Go to: www.freescale.com xxix
DataSheet 4 U .com
www..com
Freescale Semiconductor, Inc.
LIST OF TABLES (Continued)
Figure Number 14-1. 15-1. 15-2. 15-3. 15-4. 15-5. 15-6. 15-7. 15-8. 15-9. 15-10. 15-11. 15-12. 15-13. 15-14. 16-1. 16-2. 17-1. 17-2. 17-3. 17-4. 17-5. 17-6. 17-7. 17-8. 17-9. 17-10. 17-11. 17-12. 17-13. 17-14. 17-15. 17-16. 18-1. 18-2.
.com
xxx MCF5206E USER'S MANUAL For More Information On This Product, Go to: www.freescale.com MOTOROLA
Title
Page Number
Programming Model for Timers .................................................................... 14-3 Processor PST Definition.............................................................................. 15-2 CPU-Generated Message Encoding............................................................. 15-7 BDM Command Summary ........................................................................... 15-7 BDM Size Field Encoding ............................................................................. 15-8 Control Register Map .................................................................................. 15-23 Definition of DRc Encoding - Read ............................................................. 15-25 Definition of DRc Encoding - Write ............................................................. 15-26 SIZE Encodings .......................................................................................... 15-29 Transfer Type Encodings............................................................................ 15-29 Transfer Modifier Encodings for Normal Transfers ..................................... 15-30 Transfer Modifier Encodings for Alternate Access Transfers...................... 15-30 Core Address, Access Size, and Operand Location................................... 15-30 DDATA, CSR[31:28] Breakpoint Response................................................ 15-36 Shared BDM/Breakpoint Hardware............................................................. 15-37 JTAG Pin Descriptions.................................................................................. 16-3 .com JTAG Instructions ......................................................................................... 16-3 Supply, Input Voltage and Storage Temperature ......................................... 17-1 Operating Temperature................................................................................. 17-1 Thermal Resistance ...................................................................................... 17-2 Output Loading ............................................................................................. 17-2 DC Electrical Specifications .......................................................................... 17-3 I/O Driver Capability....................................................................................... 17-4 Clock Input Timing Specifications ................................................................. 17-5 Processor Bus Input Timing Specifications................................................... 17-6 Processor Bus Output Timing Specifications................................................ 17-8 Timer Module AC Timing Specifications ..................................................... 17-16 UART Module AC Timing Specifications .................................................... 17-17 INPUT Timing Specifications Between SCL and SDA................................ 17-18 Output Timing Specifications Between SCL and SDA................................ 17-19 Timing Specifications Between CLK and SCL, SDA................................... 17-19 General-Purpose I/O Port AC Timing Specifications .................................. 17-21 IEEE 1149.1 (JTAG) AC Timing Specifications .......................................... 17-22 MCF5206E Package/Frequency Availability .................................................. 18-3 MCF5206E Documentation ............................................................................ 18-3
t4U.com
Freescale Semiconductor, Inc...
e DataShe
DataSheet 4 U .com
www..com
Freescale Semiconductor, Inc.
LIST OF TABLES (Continued)
Figure Number 18-3. A-1. Title Page Number
Development Tools Providers ........................................................................18-3 MCF5206E User Programming Model ............................................................. A-i
t4U.com
Freescale Semiconductor, Inc...
e DataShe
.com
.com
MOTOROLA MCF5206E USER'S MANUAL For More Information On This Product, Go to: www.freescale.com xxxi
DataSheet 4 U .com
www..com
Freescale Semiconductor, Inc.
LIST OF TABLES (Continued)
Figure Number Title Page Number
t4U.com
Freescale Semiconductor, Inc...
e DataShe
.com
.com
xxxii MCF5206E USER'S MANUAL For More Information On This Product, Go to: www.freescale.com MOTOROLA
DataSheet 4 U .com
www..com
Freescale Semiconductor, Inc.
1 2 SECTION 1 INTRODUCTION
1.1 BACKGROUND
The MCF5206E integrated microprocessor combines a Version 2 (V2) ColdFire(R) processor core with several peripheral functions such as a DRAM controller, timers, general-purpose I/O and serial interfaces, debug module, and system integration. Designed for embedded control applications, the V2 ColdFire core delivers enhanced performance while maintaining low system costs. To speed program execution, the largeon-chip instruction cache and SRAM provide one-cycle access to critical code and data. The MCF5206E greatly reduces the time required for system design and implementation by packaging common system functions on chip and providing glueless interfaces to 8 bit, 16 bit, and 32 bit DRAM, SRAM, ROM, and I/O devices. The MCF5206E is an enhanced version of the MCF5206 processor, with the same peripheral set, DMA, MAC, Hardware Divide, larger cache, and larger SRAM. It is pin compatible with the MCF5206, with the DMA pins muxed with Timer 0 pins. Available in 3.3V, with 5V- tolerant I/O, at speeds of 45 MHz and 54 MHz; higher performance at a lower .com price. The revolutionary ColdFire microprocessor architecture gives cost-sensitive, high-volume markets new levels of price and performance. Based on the concept of variable-length RISC technology, ColdFire combines the architectural simplicity of conventional 32 bit RISC with a memory-saving, variable-length instruction set. In defining the ColdFire architecture for embedded processing applications, Motorola incorporated RISC architecture for peak performance and a simplified version of the variable-length instruction set found in the M68000 Family for code density and programmer familiarity. By incorporating a variable-length instruction set architecture, embedded processor designers using ColdFire processors will enjoy significant system-level advantages over conventional 32-bit fixed-length RISC architectures. The denser binary code for ColdFire processors consumes less valuable memory than any 32-bit fixed-length instruction set RISC processor available. This improved code density means more efficient system memory use for a given application and requires slower, less costly memory to help achieve a target performance level. The integrated peripheral functions provide high performance and flexibility. For starters, the DRAM controller supports as much as 512 Mbytes of DRAM. The MCF5206E supports both page-mode and extended-data-out DRAMs. Two channels of DMA allow for fast data transfer using a programmable burst mode independent of processor execution. The serial interfaces consist of two programmable full duplex UARTs and a separate I2C1 -compatible Motorola bus (M-Bus interface). The two 16-bit general-purpose multimode timers provide
.com
MOTOROLA MCF5206E USER'S MANUAL For More Information On This Product, Go to: www.freescale.com 1-1
3 4 5 6 7 8
t4U.com
Freescale Semiconductor, Inc...
e DataShe
9 10 11 12 13 14 15 16
DataSheet 4 U .com
www..com
Introduction
Freescale Semiconductor, Inc.
2 3 4
separate input and output signals. For system protection, the processor includes a programmable 16-bit software watchdog timer and several bus monitors. In addition, common system functions such as chip selects, interrupt control, bus arbitration, and IEEE 1149.1 Test (JTAG) support are included. A sophisticated debug interface supports both background-debug mode and real-time trace. This interface is common to all ColdFire processors and allows common emulator support across the entire ColdFire Family.
1.2 MCF5206E FEATURES
The primary features of the MCF5206E integrated processor include the following: * Version 2 ColdFire Processor Core
Freescale Semiconductor, Inc...
6 7
-- -- -- -- -- -- --
Variable-length RISC 32-bit data bus 16 user-visible 32-bit registers Supervisor / User modes for system protection Vector base register to relocate exception vector table Optimized for high-level language constructs 50 MIPS at 54MHz
t4
8.com U 9
* Multiply/Accumulate Unit -- Provides high-speed, complex arithmetic processing for simple signal processing applications .com -- 1 clock issue with 3-stage execute pipeline -- Supports both 16x16 multiplies and 32x32 multiplies with 32-bit accumulate * 4 KByte Direct-Mapped Instruction Cache -- Provides one-cycle access to critical code * 8 KByte On-Chip SRAM -- Provides one-cycle access to critical code and data * Hardware Divide Module -- Supported divide functions include: * 32/16, producing a 16-bit quotient and 16-bit remainder; * 32/32, producing a 32-bit quotient; * 32/32, producing a 32-bit remainder. * DRAM Controller -- -- -- --
1. 2
DataShe
e
1
11 12 13 14 15
Programmable refresh timer provides CAS-before-RAS refresh Support for 2 separate memory banks Support for page-mode DRAMs and extended-data-out (EDO) DRAMs Allows external bus master access
16 .com
I C is a proprietary Philips interface bus.
1-2
DataSheet 4 U .com
MCF5206E USER'S MANUAL For More Information On This Product, Go to: www.freescale.com
MOTOROLA
www..com
Freescale Semiconductor, Inc.
* DMA Controller -- -- -- -- -- -- -- -- --
Introduction
Two fully programmable channels Supports dual-address and single-address transfers, with 32-bit capability Two address pointers per channel that can increment or remain constant 16-bit transfer counter per channel Operand packing and unpacking supported Auto-alignment transfers supported for efficient block movement Supports bursting and cycle steal Provides two clock-cycle internal access Three request mechanisms: Software via register bits; External DREQ; UART interrupts.
* Two Universal Synchronous/Asynchronous Receiver/Transmitter (UART) Modules
Freescale Semiconductor, Inc...
-- -- -- --
Full duplex operation Baud-rate generator Modem control signals available (CTS, RTS) Processor-interrupt capability
* Dual 16-Bit General-Purpose Multimode Timers -- -- -- -- 8-bit prescaler Timer input and output pins 30 ns resolution with 33 MHz system clock Processor-interrupt capability
.com
t4U.com
DataShe
e
* Motorola Bus (M-Bus) Module -- -- -- --
Interchip bus interface for EEPROMs, LCD controllers, A/D converters, keypads Compatible with industry-standard I2C Bus Master or slave modes support multiple masters Automatic interrupt generation with programmable level
* System Interface -- Glueless bus interface to 8 bit, 16 bit, and 32 bit DRAM, SRAM, ROM, and I/O devices -- 32-bit internal address bus with 28 bit external bus; chip select and DRAM -- 8 programmable chip selects -- Programmable wait states and port sizes -- Allows external bus masters to access chip selects -- System protection * 16-bit software watchdog timer with prescaler * Double bus fault monitor * Bus timeout monitor * Spurious interrupt monitor -- Programmable interrupt controller * Low interrupt latency * 3 external interrupt inputs * Programmable interrupt priority and autovector generator -- IEEE 1149.1 test (JTAG) support
.com
MOTOROLA MCF5206E USER'S MANUAL For More Information On This Product, Go to: www.freescale.com 1-3
DataSheet 4 U .com
www..com
Introduction
Freescale Semiconductor, Inc.
-- 8-bit general-purpose I/O interface
2 3 4
* System Debug Support -- Real-time trace -- Background debug interface * Fully Static 3.3-Volt Operation * Fully 5V tolerant pads on all I/O and address/data buses * 160 Pin PQFP Package, pin compatible with MCF5206. * Available at 45 MHz and 54 MHz. * 3.3V with 5V-tolerant I/O. * Extended temperature (-40/+85 Deg C) available.
Freescale Semiconductor, Inc...
6 7 8
1.3 FUNCTIONAL BLOCKS
Figure 1-1 is a block diagram of the MCF5206E processor. The paragraphs that follow
t4U.com
DataShe
e
9
.com
1
11 12 13 14 15
.com
1-4 MCF5206E USER'S MANUAL For More Information On This Product, Go to: www.freescale.com MOTOROLA
16
DataSheet 4 U .com
www..com
Freescale Semiconductor, Inc.
provide an overview of the integrated processor.
CLOCK INPUT CLOCK DRAM CONTROLLER CHIP SELECTS INTERRUPT CONTROLLER EXTERNAL BUS INTERFACE
Introduction
DRAM CONTROL CHIP SELECTS INTERRUPT SUPPORT EXTERNAL BUS
JTAG INTERFACE
JTAG
4 KBYTE ICACHE 8 KBYTE SRAM
SYSTEM BUS CONTROLLER
Freescale Semiconductor, Inc...
PARALLEL PORT
PARALLEL INTERFACE
UARTS DEBUG TIMERS BDM INTERFACE COLDFIRE V2 CORE
SERIAL INTERFACE
TIMER SUPPORT
t4U.com
.com
MAC MODULE H/W DIVIDE MODULE
M-BUS MODULE
M-BUS INTERFACE
DataShe
e
DMA MODULE
DMA INTERFACE
Figure 1-1. MCF5206E Block Diagram
1.3.1 ColdFire Processor Core
The ColdFire processor core consists of two independent, decoupled pipeline structures to maximize performance while minimizing core size.The instruction fetch pipeline (IFP) is a two-stage pipeline for prefetching instructions. The prefetched instruction stream is then gated into the two-stage operand execution pipeline (OEP), which decodes the instruction, fetches the required operands and then executes the required function. Because the IFP and OEP pipelines are decoupled by an instruction buffer that serves as a FIFO queue, the IFP can prefetch instructions in advance of their actual use by the OEP, thereby minimizing time stalled waiting for instructions. The OEP is implemented in a two-stage pipeline featuring a traditional RISC datapath with a dual-read-ported register file feeding an arithmetic/logic unit. The MCF5206E also includes MAC and hardware divide instructions which enhance the mathematical performance.
.com
MOTOROLA MCF5206E USER'S MANUAL For More Information On This Product, Go to: www.freescale.com 1-5
DataSheet 4 U .com
www..com
Introduction
Freescale Semiconductor, Inc.
2 3 4
1.3.1.1 PROCESSOR STATES. The processor is always in one of four states: normal processing, exception processing, stopped, or halted. It is in the normal processing state when executing instructions, fetching instructions and operands, and storing instruction results. Exception processing is the transition from program processing to system, interrupt, and exception handling. Exception processing includes fetching the exception vector, stacking operations, and refilling the instruction fetch pipe after an exception. The processor enters exception processing when an exceptional internal condition arises, such as tracing an instruction, an instruction resulting in a trap, or executing specific instructions. External conditions, such as interrupts and access errors, also cause exceptions. Exception processing ends when the first instruction of the exception handler enters the operand execution pipeline. Stopped mode is a reduced power operation mode that causes the processor to remain quiescent until either a reset or nonmasked interrupt occurs. The STOP instruction is used to enter this operation mode. The processor halts when it receives an access error or generates an address error while in the exception processing state. For example, if during exception processing of one access error another access error occurs, the MCF5206E processor cannot complete the transition to normal processing nor can it save the internal machine state. The processor assumes that the system is not operational and halts. Only an external reset can restart a halted processor. When the processor executes a STOP instruction, it is in a special type of normal processing state, e.g., one without bus cycles. The processor stops but it does not halt.
.com
t4U.com
Freescale Semiconductor, Inc...
6 7 8
DataShe
e
9
The processor can also halt in a restart mode because of background debug mode events. 1.3.1.2 PROGRAMMING MODEL. The ColdFire programming model is separated into two privilege modes: supervisor and user. The S bit in the status register (SR) indicates the current privilege mode. The processor identifies a logical address by accessing either the supervisor or user address space, which differentiates between supervisor and user modes. Programs access registers based on the indicated mode. User programs can access only registers specific to the user mode. System software executing in the supervisor mode can access all registers using the control registers to perform supervisory functions. User programs are thus restricted from accessing privileged information. The operating system performs management and service tasks for user programs by coordinating their activities. This difference allows the supervisor mode to protect system resources from uncontrolled accesses. Most instructions execute in either mode but some instructions that have important system effects are privileged and can execute only in the supervisor mode. For instance, user programs cannot execute the STOP instructions. To prevent a program executing in user mode from entering the supervisor mode, instructions that can alter the S bit in the SR are privileged. The TRAP instructions provide controlled access to operating system services for user programs.
1
11 12 13 14 15 16
.com
1-6 MCF5206E USER'S MANUAL For More Information On This Product, Go to: www.freescale.com MOTOROLA
DataSheet 4 U .com
www..com
Freescale Semiconductor, Inc.
Introduction
Table 1-1. EFFECTIVE ADDRESSING MODES AND CATEGORIES
ADDRESSING MODES Register Direct Data Address Register Indirect Address Address with Postincrement Address with Predecrement Address with Displacement Address Register Indirect with Index 8-Bit Displacement Program Counter Indirect with Displacement Program Counter Indirect with Index 8-Bit Displacement SYNTAX Dn An (An) (An)+ -(An) (d16, An) (d8, An, Xi) (d16, PC) (d8, PC, Xi) (xxx).W (xxx).L # MODE FIELD 000 001 010 011 100 101 110 111 111 111 111 111 REG. FIELD reg. no. reg. no. reg. no. reg. no. reg. no. reg. no. reg. no. 010 011 000 001 100 CATEGORY DATA X -- X X X X X X X X X X MEMORY -- -- X X X X X X X X X X CONTROL -- -- X -- -- X X X X X X -- ALTERABLE X X X X X X X -- -- -- -- --
Freescale Semiconductor, Inc...
Absolute Data Addressing Short Long Immediate
t4U.com
DataShe
e
.com
.com
MOTOROLA MCF5206E USER'S MANUAL For More Information On This Product, Go to: www.freescale.com 1-7
DataSheet 4 U .com
www..com
Introduction
Freescale Semiconductor, Inc.
2 3 4
The processor employs the user mode and the user programming model when it is in normal processing. During exception processing, the processor changes from user to supervisor mode. Exception processing saves the current SR value on the stack and then sets the S bit, forcing the processor into the supervisor mode. To return to the user mode, a system routine must execute a MOVE to SR, or an RTE, which operate in the supervisor mode, modifying the S bit of the SR. After these instructions execute, the instruction fetch pipeline flushes and is refilled from the appropriate address space. The registers depicted in the programming model (see Figure 1-2) provide operand storage and control for the ColdFire processor core. The registers are also partitioned into user and supervisor privilege modes. The user programming model consists of 16 general-purpose, 32 bit registers and two control registers. The supervisor model consists of five more registers that can be accessed only by code running in supervisor mode. Only system programmers can use the supervisor programming model to implement operating system functions and I/O control. This supervisor/user distinction allows for the coding of application software that will run without modification on any ColdFire Family processor. The supervisor programming model contains the control features that system designers would not want user code to erroneously access as this might effect normal system operation. Furthermore, the supervisor programming model may need to change slightly from ColdFire generation to generation to add features or improve performance as the architecture evolves.
DataShe
t4U.com
Freescale Semiconductor, Inc...
6 7 8
e
9
.com
1
11 12 13 14 15
.com
1-8 MCF5206E USER'S MANUAL For More Information On This Product, Go to: www.freescale.com MOTOROLA
16
DataSheet 4 U .com
www..com
Freescale Semiconductor, Inc.
Introduction
31
0 D0 D1 D2 D3 D4 D5 D6 D7 DATA REGISTERS
Freescale Semiconductor, Inc...
31
0 A0 A1 A2 A3 A4 A5 A6 A7 PC STACK POINTER PROGRAM COUNTER CONDITION CODE REGISTER ADDRESS REGISTERS
t4U.com
DataShe
e
.com
CCR
USER PROGRAMMING MODEL 15
31
0 (CCR) SR VBR CACR ACR0 ACR1 STATUS REGISTER VECTOR BASE REGISTER CACHE CONTROL REGISTER ACCESS CONTROL REGISTER 0 ACCESS CONTROL REGISTER 1
19
MUST BE ZEROS
Figure 1-2. Programming Model The user programming model includes eight data registers, seven address registers, and a stack pointer register. The address registers and stack pointer can be used as base address registers or software stack pointers, and any of the 16 registers can be used as index registers. Two control registers are available in the user mode: the program counter (PC), which contains the address of the instruction that the MCF5206E device is executing, and the lower byte of the SR, which is accessible as the Condition Code Register (CCR). The CCR contains the condition codes that reflect the results of a previous operation and can be used for conditional instruction execution in a program.
.com
MOTOROLA MCF5206E USER'S MANUAL For More Information On This Product, Go to: www.freescale.com 1-9
DataSheet 4 U .com
www..com
Introduction
Freescale Semiconductor, Inc.
2 3 4
The supervisor programming model includes the upper byte of the SR, which contains operation control information. The Vector Base Register (VBR) contains the upper 12 bits of the base address of the exception vector table, which is used in exception processing. The lower 20 bits of the VBR are forced to zero, allowing the vector table to reside on any 1 Mbyte memory boundary. The Cache Control Register (CACR) controls enabling of the on-chip cache. Two access control registers (ACR1, ACR0) allow portions of the address space to be mapped as noncacheable. See subsections 4.3 and 4.4 for details on these registers. 1.3.1.3 MAC REGISTERS SUMMARY. The processor performs all arithmetic using 2's complement, but operands can be signed or unsigned. Registers, memory, or instructions themselves can contain operands. The operand size for each instruction is either explicitly encoded in the instruction or implicitly defined by the instruction operation. Table1-3 summarizes the MCF5206E data formats. Table 1-2. MCF5206E Data Formats
OPERAND DATA FORMAT Bit Byte Word Longword SIZE 1 bit 8 bits 16 bits 32 bits
t4U.com
Freescale Semiconductor, Inc...
6 7 8
9
1
1.2.1.4 ADDRESSING CAPABILITIES SUMMARY. The MCF5206E processor supports seven addressing modes. The register indirect addressing modes support postincrement, .com predecrement, offset, and indexing, which are particularly useful for handling data structures common to sophisticated embedded applications and high-level languages. The program counter indirect mode also has indexing and offset capabilities. This addressing mode is typically required to support position-independent software. Besides these addressing modes, the MCF5206E processor provides index scaling features. An instruction's addressing mode can specify the value of an operand or a register containing the operand. It can also specify how to derive the effective address of an operand in memory. Each addressing mode has an assembler syntax. Some instructions imply the addressing mode for an operand. These instructions include the appropriate fields for operands that use only one addressing mode. Table 1-1 summarizes the specific effective addressing modes of ColdFire processors. Table 1-2 summarizes the MOVE specific effective addressing modes. 1.2.1.5 INSTRUCTION SET OVERVIEW. The ColdFire instruction set supports high-level languages and is optimized for those instructions embedded code most commonly executes. Table 1-3 lists the notational conventions used throughout this manual, unless otherwise specified. Table 1-4 provides an alphabetized listing of the ColdFire instruction set opcode, operation, and syntax. The left operand in the syntax is always the source operand and the right operand is the destination operand. This instruction set is a simplified version of the M68K instruction set. The removed instructions include BCD, bit field, logical rotate, decrement and branch, and integer multiply with a 64-bit result. In addition, nine new MAC instructions have been added.
DataShe
e
11 12 13 14 15 16
.com
1-10 MCF5206E USER'S MANUAL For More Information On This Product, Go to: www.freescale.com MOTOROLA
DataSheet 4 U .com
www..com
Freescale Semiconductor, Inc.
Table 1-3. Notational Conventions
OPCODE WILDCARDS cc An Ay,Ax Dn Dy,Dx Rn Ry,Rx Rw Rc ACC DDATA CCR MACSR MASK PC PST SR # y,x


▲Up To Search▲   

 
Price & Availability of MCF5206E

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X